from __future__ import division
import numpy as np

class Physics:
    hbar = 1.0545716 * 10 ** (-34)  #J.s
    h = hbar * 2 * np.pi    #J.s
    mue = 9.274009 * 10 ** (-24)   #electron magneton    J.T^-1
    mun = 5.050783 * 10 ** (-27)   #nuclear magneton    J.T^-1
    eV = 1.6021764 * 10 ** (-19)    #J
    #(10 ** (-6)) / h     #from J to MHz
    EnergyUnit = 1   #1 -> MHz ; 0.001 -> GHz
    FieldUnit = 1     #1 -> T ; 0.001 -> mT ; 0.0001 -> G

